/* 引入uviewPlus */
import uviewPlus from 'uview-plus'
/* Request 一定放在uviewPlus之后 */
import { Request } from "@/api/request"
import { createSSRApp } from "vue";
import App from "./App.vue";

import dayjs from "dayjs"
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn')

export function createApp() {
  const app = createSSRApp(App);
  app.config.globalProperties.dayjs = dayjs;
  app.use(uviewPlus)
  Request()
  return {
    app,
  };
}